import request from '@/utils/request'

// 查询审批进展列表
export function getOpinionList(query) {
  return request({
    url: '/gene/opinion/list', method: 'get', params: query
  })
}

/**
 * 查询保存的意见
 */
export function getSaveOpinion(query) {
  return request({
    url: '/gene/opinion/getSaveOpinion', method: 'get', params: query
  })
}

/**
 * 查询保存的意见
 */
export function saveOpinion(data) {
  return request({
    url: '/gene/opinion/saveOpinion', method: 'POST', data: data
  })
}
